home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11057 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: camelot.ccs.neu.edu!dwoske
  2. From: dwoske@ccs.neu.edu (Donald A Dwoske)
  3. Newsgroups: comp.lang.c++
  4. Subject: String search/replace code?
  5. Date: 12 Mar 1996 14:51:11 GMT
  6. Organization: College of Computer Science, Northeastern University
  7. Message-ID: <4i430v$pif@camelot.ccs.neu.edu>
  8. NNTP-Posting-Host: atlas.ccs.neu.edu
  9.  
  10.  
  11. Does anyone have code/class that does string search/replace?
  12.  
  13. I want to replace all occurences of a string with another string.
  14.  
  15. I don't want to sift throught a large class library to extract the
  16. code that I need.
  17.  
  18. One routine/one class is all I need.  We are using RogueWave 6.1 and
  19. it apparently does not have such a beast, and I am being lazy and
  20. not writing one... so if someone has developed one on top of
  21. RW stuff... even better...
  22.  
  23. I don't have easy access to g++... I'd have to take the whole
  24. thing down.. uncompress, untar, look around..etc...   I'm being
  25. lazy, so if someone can send me a routine with little effort, I'd
  26. appreciate it...
  27.  
  28. Thanks!
  29.  
  30. Don
  31.  
  32.  
  33. -- 
  34. ------------------------------------------------------
  35. Don Dwoske          GTE Government Systems Needham, MA
  36. ddwoske@fortress.ndhm.gtegsc.com
  37. http://www.ccs.neu.edu/home/dwoske
  38.